package model;

import java.sql.Timestamp;
import java.text.Format;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * VCloudAnecdoteReview entity. @author MyEclipse Persistence Tools
 */

public class VCloudAnecdoteReview implements java.io.Serializable {

	// Fields

	private Integer aid;
	private String topic;
	private String acontent;
	private String involveStudent;
	private Integer receiveUserid;
	private Integer sendUserid;
	private Integer handlerStatus;
	private Integer sendStatus;
	private String saveTime;
	private String sendTime;
	private Integer rid;
	private String reviewTime;
	private String reviewContent;
	private Integer reviewStatus;
	private Integer processUserid;
	private String receiveUserName;
	private String receivePhone;
	private Integer receiveRoleid;
	private String receiveUserStatus;
	private String receiveRoleName;
	private String receiveRealName;
	private String receiveRoleStatus;
	private String receiveSchool;
	private String sendUserName;
	private String sendPhone;
	private Integer sendRoleid;
	private String sendUserStatus;
	private String sendRoleName;
	private String sendRealName;
	private String sendRoleStatus;
	private String sendSchool;
	private String reviewUserName;
	private String reviewPhone;
	private Integer reviewRoleid;
	private String reviewUserStatus;
	private String reviewRoleName;
	private String reviewRealName;
	private String reviewRoleStatus;
	private String reviewSchool;
	private Integer number;
	
	private String anecdotetype;
	private String anecdotetypename;
	private String causes;
	private String performance;
	private String dealedwith;
	private String treatmenteffect;
	private String anlev;

	// Constructors

	/** default constructor */
	public VCloudAnecdoteReview() {
	}

	/** minimal constructor */
	public VCloudAnecdoteReview(Integer aid) {
		this.aid = aid;
	}

	/** full constructor */
	public VCloudAnecdoteReview(Integer aid, String topic, String acontent,
			String involveStudent, Integer receiveUserid, Integer sendUserid,
			Integer handlerStatus, Integer sendStatus, String saveTime,
			String sendTime, Integer rid, String reviewTime,
			String reviewContent, Integer reviewStatus, Integer processUserid,
			String receiveUserName, String receivePhone, Integer receiveRoleid,
			String receiveUserStatus, String receiveRoleName,
			String receiveRealName, String receiveRoleStatus,
			String receiveSchool, String sendUserName, String sendPhone,
			Integer sendRoleid, String sendUserStatus, String sendRoleName,
			String sendRealName, String sendRoleStatus, String sendSchool,
			String reviewUserName, String reviewPhone, Integer reviewRoleid,
			String reviewUserStatus, String reviewRoleName,
			String reviewRealName, String reviewRoleStatus, String reviewSchool,Integer number,
			String anecdotetype,String anecdotetypename,String causes,String performance,
			String dealedwith,String treatmenteffect,String anlev) {
		this.aid = aid;
		this.topic = topic;
		this.acontent = acontent;
		this.involveStudent = involveStudent;
		this.receiveUserid = receiveUserid;
		this.sendUserid = sendUserid;
		this.handlerStatus = handlerStatus;
		this.sendStatus = sendStatus;
		this.saveTime = saveTime;
		this.sendTime = sendTime;
		this.rid = rid;
		this.reviewTime = reviewTime;
		this.reviewContent = reviewContent;
		this.reviewStatus = reviewStatus;
		this.processUserid = processUserid;
		this.receiveUserName = receiveUserName;
		this.receivePhone = receivePhone;
		this.receiveRoleid = receiveRoleid;
		this.receiveUserStatus = receiveUserStatus;
		this.receiveRoleName = receiveRoleName;
		this.receiveRealName = receiveRealName;
		this.receiveRoleStatus = receiveRoleStatus;
		this.receiveSchool = receiveSchool;
		this.sendUserName = sendUserName;
		this.sendPhone = sendPhone;
		this.sendRoleid = sendRoleid;
		this.sendUserStatus = sendUserStatus;
		this.sendRoleName = sendRoleName;
		this.sendRealName = sendRealName;
		this.sendRoleStatus = sendRoleStatus;
		this.sendSchool = sendSchool;
		this.reviewUserName = reviewUserName;
		this.reviewPhone = reviewPhone;
		this.reviewRoleid = reviewRoleid;
		this.reviewUserStatus = reviewUserStatus;
		this.reviewRoleName = reviewRoleName;
		this.reviewRealName = reviewRealName;
		this.reviewRoleStatus = reviewRoleStatus;
		this.reviewSchool = reviewSchool;
		this.number=number;
		
		this.anecdotetype=anecdotetype;
		this.anecdotetypename=anecdotetypename;
		this.causes=causes;
		this.performance=performance;
		this.dealedwith=dealedwith;
		this.treatmenteffect=treatmenteffect;
		this.anlev=anlev;
	}

	SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm");
	
	// Property accessors

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public String getTopic() {
		return this.topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public String getAcontent() {
		return this.acontent;
	}

	public void setAcontent(String acontent) {
		this.acontent = acontent;
	}

	public String getInvolveStudent() {
		return this.involveStudent;
	}

	public void setInvolveStudent(String involveStudent) {
		this.involveStudent = involveStudent;
	}

	public Integer getReceiveUserid() {
		return this.receiveUserid;
	}

	public void setReceiveUserid(Integer receiveUserid) {
		this.receiveUserid = receiveUserid;
	}

	public Integer getSendUserid() {
		return this.sendUserid;
	}

	public void setSendUserid(Integer sendUserid) {
		this.sendUserid = sendUserid;
	}

	public Integer getHandlerStatus() {
		return this.handlerStatus;
	}

	public void setHandlerStatus(Integer handlerStatus) {
		this.handlerStatus = handlerStatus;
	}

	public Integer getSendStatus() {
		return this.sendStatus;
	}

	public void setSendStatus(Integer sendStatus) {
		this.sendStatus = sendStatus;
	}

	public String getSaveTime() {
		if (this.saveTime != null && !this.saveTime.equals("")) {
			Date date = Timestamp.valueOf(this.saveTime);
			return formatter.format(date).toString();
		}
		return null;
	}

	public void setSaveTime(String saveTime) {
		this.saveTime = saveTime;
	}

	public String getSendTime() {
		if (this.sendTime != null && !this.sendTime.equals("")) {
			Date date = Timestamp.valueOf(this.sendTime);
			return formatter.format(date).toString();
		}
		return null;
	}

	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getReviewTime() {
		if (this.reviewTime != null && !this.reviewTime.equals("")) {
			Date date = Timestamp.valueOf(this.reviewTime);
			return formatter.format(date).toString();
		}
		return null;
	}

	public void setReviewTime(String reviewTime) {
		this.reviewTime = reviewTime;
	}

	public String getReviewContent() {
		return this.reviewContent;
	}

	public void setReviewContent(String reviewContent) {
		this.reviewContent = reviewContent;
	}

	public Integer getReviewStatus() {
		return this.reviewStatus;
	}

	public void setReviewStatus(Integer reviewStatus) {
		this.reviewStatus = reviewStatus;
	}

	public Integer getProcessUserid() {
		return this.processUserid;
	}

	public void setProcessUserid(Integer processUserid) {
		this.processUserid = processUserid;
	}

	public String getReceiveUserName() {
		return this.receiveUserName;
	}

	public void setReceiveUserName(String receiveUserName) {
		this.receiveUserName = receiveUserName;
	}

	public String getReceivePhone() {
		return this.receivePhone;
	}

	public void setReceivePhone(String receivePhone) {
		this.receivePhone = receivePhone;
	}

	public Integer getReceiveRoleid() {
		return this.receiveRoleid;
	}

	public void setReceiveRoleid(Integer receiveRoleid) {
		this.receiveRoleid = receiveRoleid;
	}

	public String getReceiveUserStatus() {
		return this.receiveUserStatus;
	}

	public void setReceiveUserStatus(String receiveUserStatus) {
		this.receiveUserStatus = receiveUserStatus;
	}

	public String getReceiveRoleName() {
		return this.receiveRoleName;
	}

	public void setReceiveRoleName(String receiveRoleName) {
		this.receiveRoleName = receiveRoleName;
	}

	public String getReceiveRealName() {
		return this.receiveRealName;
	}

	public void setReceiveRealName(String receiveRealName) {
		this.receiveRealName = receiveRealName;
	}

	public String getReceiveRoleStatus() {
		return this.receiveRoleStatus;
	}

	public void setReceiveRoleStatus(String receiveRoleStatus) {
		this.receiveRoleStatus = receiveRoleStatus;
	}

	public String getReceiveSchool() {
		return this.receiveSchool;
	}

	public void setReceiveSchool(String receiveSchool) {
		this.receiveSchool = receiveSchool;
	}

	public String getSendUserName() {
		return this.sendUserName;
	}

	public void setSendUserName(String sendUserName) {
		this.sendUserName = sendUserName;
	}

	public String getSendPhone() {
		return this.sendPhone;
	}

	public void setSendPhone(String sendPhone) {
		this.sendPhone = sendPhone;
	}

	public Integer getSendRoleid() {
		return this.sendRoleid;
	}

	public void setSendRoleid(Integer sendRoleid) {
		this.sendRoleid = sendRoleid;
	}

	public String getSendUserStatus() {
		return this.sendUserStatus;
	}

	public void setSendUserStatus(String sendUserStatus) {
		this.sendUserStatus = sendUserStatus;
	}

	public String getSendRoleName() {
		return this.sendRoleName;
	}

	public void setSendRoleName(String sendRoleName) {
		this.sendRoleName = sendRoleName;
	}

	public String getSendRealName() {
		return this.sendRealName;
	}

	public void setSendRealName(String sendRealName) {
		this.sendRealName = sendRealName;
	}

	public String getSendRoleStatus() {
		return this.sendRoleStatus;
	}

	public void setSendRoleStatus(String sendRoleStatus) {
		this.sendRoleStatus = sendRoleStatus;
	}

	public String getSendSchool() {
		return this.sendSchool;
	}

	public void setSendSchool(String sendSchool) {
		this.sendSchool = sendSchool;
	}

	public String getReviewUserName() {
		return this.reviewUserName;
	}

	public void setReviewUserName(String reviewUserName) {
		this.reviewUserName = reviewUserName;
	}

	public String getReviewPhone() {
		return this.reviewPhone;
	}

	public void setReviewPhone(String reviewPhone) {
		this.reviewPhone = reviewPhone;
	}

	public Integer getReviewRoleid() {
		return this.reviewRoleid;
	}

	public void setReviewRoleid(Integer reviewRoleid) {
		this.reviewRoleid = reviewRoleid;
	}

	public String getReviewUserStatus() {
		return this.reviewUserStatus;
	}

	public void setReviewUserStatus(String reviewUserStatus) {
		this.reviewUserStatus = reviewUserStatus;
	}

	public String getReviewRoleName() {
		return this.reviewRoleName;
	}

	public void setReviewRoleName(String reviewRoleName) {
		this.reviewRoleName = reviewRoleName;
	}

	public String getReviewRealName() {
		return this.reviewRealName;
	}

	public void setReviewRealName(String reviewRealName) {
		this.reviewRealName = reviewRealName;
	}

	public String getReviewRoleStatus() {
		return this.reviewRoleStatus;
	}

	public void setReviewRoleStatus(String reviewRoleStatus) {
		this.reviewRoleStatus = reviewRoleStatus;
	}

	public String getReviewSchool() {
		return this.reviewSchool;
	}

	public void setReviewSchool(String reviewSchool) {
		this.reviewSchool = reviewSchool;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getAnecdotetype() {
		return anecdotetype;
	}

	public void setAnecdotetype(String anecdotetype) {
		this.anecdotetype = anecdotetype;
	}

	public String getAnecdotetypename() {
		return anecdotetypename;
	}

	public void setAnecdotetypename(String anecdotetypename) {
		this.anecdotetypename = anecdotetypename;
	}

	public String getCauses() {
		return causes;
	}

	public void setCauses(String causes) {
		this.causes = causes;
	}

	public String getPerformance() {
		return performance;
	}

	public void setPerformance(String performance) {
		this.performance = performance;
	}

	public String getDealedwith() {
		return dealedwith;
	}

	public void setDealedwith(String dealedwith) {
		this.dealedwith = dealedwith;
	}

	public String getTreatmenteffect() {
		return treatmenteffect;
	}

	public void setTreatmenteffect(String treatmenteffect) {
		this.treatmenteffect = treatmenteffect;
	}

	public String getAnlev() {
		return anlev;
	}

	public void setAnlev(String anlev) {
		this.anlev = anlev;
	}
	
}